package com.gzhuxj201.service;

import com.gzhuxj201.entity.HomeWork;
import com.gzhuxj201.entity.HomeWorkDto;
import com.gzhuxj201.entity.PageBean;

import java.util.List;

public interface HomeWorkService {
    List<HomeWorkDto> selectByTno(String tno,String courseId);

    int add(HomeWork homeWork);

    int deleteById(Integer id);

    HomeWork selectById(Integer id);

    int update(HomeWork homeWork);

    PageBean selectByClassId(Integer page, Integer pageSize, String courseId,String name);
}
